package com.wmz.crm.workbench.mapper;

import com.wmz.crm.workbench.entity.TranRemark;

import java.util.List;

public interface TranRemarkMapper {
    int deleteByPrimaryKey(String id);

    int insert(TranRemark row);

    int insertSelective(TranRemark row);

    TranRemark selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TranRemark row);

    int updateByPrimaryKey(TranRemark row);

    //线索的备注信息转换到交易备注表中一份
    int insertTranRemarkFromClueRemark(List<TranRemark> list);

    //根据tranId查询交易备注的详细信息
    List<TranRemark> selectTranRemarkForDetailByTranId(String tranId);
}
